<div class="portlet">
  <div class="portlet-header">
    <h1><%=t ".title"%></h1>
  </div>
  <div class="portlet-content">
    <table>
      <thead>
        <tr>
          <th><%= t('activerecord.attributes.currency.name') %></th>
          <th><%= t('activerecord.attributes.currency.symbol') %></th>
          <th><%= t('activerecord.attributes.currency.exchange_rate') %></th>
          <th colspan="3"><%= t('title_actions') %></th>
        </tr>
      </thead>
      <tbody>
        <% @currencies.each do |currency| %>
          <tr>
            <td><%=h currency.name %></td>
            <td><%=h currency.symbol %></td>
            <td><%=h currency.exchange_rate %></td>
            <td class="action"><%= link_to t('btn_show'), currency %></td>
            <td class="action"><%= link_to t('btn_edit'), edit_currency_path(currency) %></td>
            <td class="action"><%= link_to t('btn_destroy'), currency, :confirm => t('msg_sure_destroy?'), :method => :delete %></td>
          </tr>
        <% end %>
      </tbody>
   </table>

  </div>
  <div class="portlet-footer">
    <%= link_to t('.btn_new_currency'), new_currency_path %>
  </div>


</div>